package com.oo.polymorphic_4.fruit;

/**
 * Cantaloup--${description}
 *
 * @author: Jovi
 * @createTime: 2017-04-19 10:56
 **/
public class Cantaloup extends Fruit {

    public Cantaloup() {
    }

    public Cantaloup(String name, String flavor) {
        super(name, flavor);
    }

    @Override
    public void eat() {
        System.out.println(this.getName()+"\n:口感"+this.getFlavor()+"\n需要洗净后，削皮吃");
    }
}
